export default [
	{
		key: "name",
		label: "名称",
		component: "InputField",
		type: "text",
		maxlength: 100,
		required: true,
	},
	{
		key: "image",
		label: "图片",
		component: "ImageUploadField",
		required: false,
	},
	{
		key: "category",
		label: "商品分类",
		component: "dataSelectField",
		required: true,
		optKey:"goodCategory"
	},
	{
		key: "price",
		label: "售价",
		component: "InputField",
		type: "number",
		required: true,
		maxlength: 50,
	},
	{
		key: "unit",
		label: "单位",
		component: "dataSelectField",
		type: "number",
		required: true,
		maxlength: 50,
		optKey:"goodUnit"
	},
	{
		key: "remark",
		label: "商品说明",
		component: "EasyInputField",
		type: "string",
		maxlength: 500,
	}
]